// https://nuxt.com/docs/api/configuration/nuxt-config
import tailwindcss from '@tailwindcss/vite'
import devtoolsJson from 'vite-plugin-devtools-json'

export default defineNuxtConfig({
  compatibilityDate: '2025-05-15',
  devtools: { enabled: true },

  vite: {
    plugins: [tailwindcss(), devtoolsJson()],
  },

  css: ['~/assets/css/main.css'],
  modules: ['shadcn-nuxt', 'lucide-nuxt', '@nuxt/eslint'],
  shadcn: {
    /**
     * Prefix for all the imported component
     */
    prefix: '',
    /**
     * Directory that the component lives in.
     * @default "./components/ui"
     */
    componentDir: './components/ui',
  },
  lucide: {
    prefix: 'Lucide',
  },
})
